import javax.microedition.lcdui.Graphics;

public final class cg extends ba {

    private aw a;
    private bs b;

    public cg(aw aw1, o o1, bs bs1) {
        super(o1);
        a = aw1;
        b = bs1;
    }

    public final boolean a(int i, int j) {
        return a.a(this, i, j);
    }

    public final void a(Graphics g, bh bh1, o o1, int i, int j) {
        bs bs1;
        bb bb1;
        if ((bs1 = b) == null)
            bs1 = a.c(10);
        if (bs1 != null) {
            bb1 = bb.b();
            try {
                bb1.a(1, this);
                bb1.a(2, g);
                bb1.a(3, o1);
                bb1.a(4, i);
                bb1.a(5, j);
                bb1.a(bs1);
                bb1.c();
            } catch (Exception exception) {
                bb1.c();
            }
        }
    }
}